package top.codedance.iotp.iot.sdk;

import top.codedance.iotp.iot.sdk.po.async.CommonParam;
import org.java_websocket.handshake.ServerHandshake;

public class WsCallbackAdapter {

    public void onOpen(WsContextAdapter context, CommonParam cp, ServerHandshake shake) { }

    public void onMessage(WsContextAdapter context, CommonParam cp, String body) { }

    public void onClose(WsContextAdapter context, CommonParam cp, int var1, String var2, boolean var3) { }

    public void onError(WsContextAdapter context, CommonParam cp, Exception e) { }
}
